﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.OracleClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Windows.Forms;
using BLL;
using Util;
using Model;


namespace happyMusic
{
    public partial class test3 : System.Web.UI.Page
    {
        CheckNull ck = new CheckNull();
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            /**
            * 3.ExecuteScalar方式查询                 
            */
            UserService userService = new UserService();
            Object o = userService.GetUsersByDeptNo(TextBox1.Text.ToString().Trim());
            MessageBox.Show(o.ToString());         
        }
    }
}